package com.business.exam.mapper;

import java.util.List;
import com.business.exam.domain.ExamQbCategory;

/**
 * 题库分类Mapper接口
 * 
 * @author zhanglele
 * @date 2023-11-11
 */
public interface ExamQbCategoryMapper 
{
    /**
     * 查询题库分类
     * 
     * @param categoryId 题库分类主键
     * @return 题库分类
     */
    public ExamQbCategory selectExamQbCategoryByCategoryId(Long categoryId);

    /**
     * 查询题库分类列表
     * 
     * @param examQbCategory 题库分类
     * @return 题库分类集合
     */
    public List<ExamQbCategory> selectExamQbCategoryList(ExamQbCategory examQbCategory);

    /**
     * 新增题库分类
     * 
     * @param examQbCategory 题库分类
     * @return 结果
     */
    public int insertExamQbCategory(ExamQbCategory examQbCategory);

    /**
     * 修改题库分类
     * 
     * @param examQbCategory 题库分类
     * @return 结果
     */
    public int updateExamQbCategory(ExamQbCategory examQbCategory);

    /**
     * 删除题库分类
     * 
     * @param categoryId 题库分类主键
     * @return 结果
     */
    public int deleteExamQbCategoryByCategoryId(Long categoryId);

    /**
     * 批量删除题库分类
     * 
     * @param categoryIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteExamQbCategoryByCategoryIds(Long[] categoryIds);
}
